/*
 * @Author: ljc
 * @Date: 2023-04-20 14:23:17
 * @LastEditors: g05047
 * @LastEditTime: 2023-04-20 18:39:05
 * @Description: 树结构接口
 */
import { defAxios as request } from '@/utils/http'

/**
 * 获取区划树结构
 *
 * @returns Proxy
 */
export function getSysAdata(params = {}) {
    return request({
        url: '/dict/getSysAdata',
        method: 'post',
        data: params
    })
}

/**
 * 获取单位树结构
 *
 * @returns Proxy
 */
export function getSysAgData(params = {}) {
    return request({
        url: '/dict/getSysAgData',
        method: 'post',
        data: params
    })
}


